import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'home',
    redirect: '/question',
    component: () => import(/* webpackChunkName: "about" */ '../views/HomeView.vue'),
  },
  {
    path: '/question',
    name: 'question',
    component: () => import(/* webpackChunkName: "about" */ '../views/question'),
  },
]

const router = new VueRouter({
  routes,
})

export default router
